package com.lywz.biz.common.dao;

import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import com.lywz.core.dao.LYWZSession;
import com.lywz.core.dao.impl.HibernateSessionImpl;

/**
 * 所有 DAO的父亲，抽象的类型
 * 
 * @author Lionel pang
 * @date 2010-3-18
 */
public abstract class AbstractBaseDao extends HibernateDaoSupport {

    protected LYWZSession session() {
//        eturn SeviceSessionFactory.openCurSession();
    	return (new HibernateSessionImpl(getSession()));
    }

}
